//
//  UIColor+Utility.m
//  LXVolunteer
//
//  Created by 李涛 on 15/5/20.
//  Copyright (c) 2015年 lexue. All rights reserved.
//

#import "UIColor+Utility.h"

@implementation UIColor (Utility)


+ (UIColor *)colorWithHex:(NSInteger)hexValue alpha:(CGFloat)alpha
{
    return [UIColor colorWithRed:((float)((hexValue & 0xFF0000) >> 16)) / 255.0
                           green:((float)((hexValue & 0xFF00) >> 8)) / 255.0
                            blue:((float)(hexValue & 0xFF))/255.0
                           alpha:alpha];
}


+ (UIColor *)baseColor
{
    return [UIColor colorWithHex:0xff6c00 alpha:1.0];
}

+ (UIColor *)baseTextColor{
    return [UIColor colorWithHex:0x131313 alpha:1.0];
}

+ (UIColor *)baseTextGrayColor{
    return [UIColor colorWithHex:0x808080 alpha:1.0];
}

+ (UIColor *)baseTextOrangeColor{
    return [UIColor colorWithHex:0xff6c00 alpha:1.0];
}
+ (UIColor *)baseTextBlueColor{
    return [UIColor colorWithHex:0x0099ff alpha:1.0];
}

+ (UIColor *)baseNaviTitleTextColor{
    return [UIColor colorWithHex:0xffffff alpha:1.0];
}

+ (UIColor *)baseNaviLeftAndRightTextColor{
    return [UIColor colorWithHex:0xff6c00 alpha:1.0];
}

+ (UIColor *)baseNaviBackGroundColor{
    return [UIColor colorWithHex:0x3992d2 alpha:1.0];
}


+ (UIColor *)baseLineColor{
    return [UIColor colorWithHex:0xd5d5d5 alpha:1.0];
}

+ (UIColor *)baseGrayBackgroundColor{
    return [UIColor colorWithHex:0xf0f0f0 alpha:1.0];
}

+ (UIColor *)colorWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue{
    return [UIColor colorWithRed:red/255.0 green:green/255.0 blue:blue/255.0 alpha:1.0];
}

+ (UIColor *)baseNaviShadowColor{
    return [UIColor colorWithHex:0xcdcdcd alpha:1.0];
}

+ (UIColor *)baseTextHighLightOrangeColor{
    return [UIColor colorWithHex:0xfbc095 alpha:1.0];
}

+ (UIColor *)cellHighLightColor{
    return [UIColor colorWithHex:0xeaeaea alpha:1.0];
}

@end
